package cdp4j;

import io.webfolder.cdp.Launcher;
import io.webfolder.cdp.session.Session;
import io.webfolder.cdp.session.SessionFactory;

/**
 * Created by User on 2017/12/8.
 */
public class App {
    public static void main(String[] args) {

        Launcher launcher = new Launcher();
        try (SessionFactory factory = launcher.launch(); Session session = factory.create()) {
            session.navigate("https://s.1688.com/selloffer/offer_search.htm?keywords=%C3%F7%D0%C7%BC%CD%C4%EE%C6%B7&button_click=filtbar&earseDirect=false&n=y&from=taoSellerSearch");
            session.waitDocumentReady();
            session.wait(60000);
        }
    }
}
